package classes_metier;
import blueJ.*;

public class DisqueDur extends Composant{
	private int capacite;
	private int id;
	
	public DisqueDur (String n, int c){
		this.nom = n;
		this.capacite = c;
		this.id = Composant.identite;
		Composant.identite++;
	}
	
	public int getCapacite(){
		return capacite;
	}
	
	public int getId(){
		return id;
	}
}

